using LoggingMagic.AssemlyOperations;
using Mono.Cecil;

namespace LoggingMagic.Injectors.Interfaces
{
    /// <summary>
    /// interface for a class which will inject a call to to the Entering function
    /// </summary>
    internal interface IInjector
    {
        /// <summary>
        /// injects the call to logging function
        /// </summary>
        /// <param name="method">method which is called</param>
        /// <param name="ops">operations list to append IL to</param>
        void Inject(MethodDefinition method, Instructions ops);
    }
}